package com.qwc.blog.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author qiuwencong
 * @Date 2022/2/16 14:22
 * @Package com.qwc.blog.entity.dto
 * @Description
 */
@Data
public class ClassifyDto {
    private Integer classifyId;
    @NotBlank(message = "名字不能为空")
    private String name;
    @NotBlank(message = "状态不能为空")
    private String status;
    @NotNull(message = "父节点不能为空")
    private Integer pid;
    @NotNull(message = "排序不能为空")
    private Integer sort;
}
